#include "PlayerMgr.h"
#include "ProtoDispatch.h"
#include "Game.pb.h"
#include "dbProto/dbTableDef.h"
#include "db_driver/db_driver.h"
#include "stl_boost.h"
#include "ZoneSvr.h"

using namespace su;
using namespace std;
using namespace proto;

Player::Player()
	: m_Base(*this)
	, m_Net(*this)
	,m_PlayerScene(*this)
	, m_Actor(*this)
{
}

void Player::InitFromDb(const proto::DbPlayer& db)
{
	m_db = db;
	FireEvent<EvAfterInitFromDb>();
}




